@extends('backend.layouts.page')
@section('content')

    <form class="form-horizontal ajaxForm" action="{{url($baseRoute.'save')}}">
        <input type="hidden" name="id" value="{{$entity->id}}"/>
        <div class="form-group">
            <label class="col-xs-3 control-label required">名称</label>
            <div class="col-xs-9">
                <input type="text" name="name" value="{{$entity->name}}" placeholder="请输入名称" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label">标签</label>
            <div class="col-xs-9">
                <input type="text" name="tag" value="{{$entity->tag}}" placeholder="请输入标签" disabled class="form-control">
            </div>
        </div>
        <div class="form-group">
            <div class="col-xs-9 col-xs-offset-3">
                <button class="btn btn-primary" type="submit">立即提交</button>
            </div>
        </div>
    </form>
@stop
